/*#include<stdio.h>
int main()
{
    int a,b;
    scanf("%d%d",&a,&b);
    printf("%d %d %.5lf",a/b,a%b,(double)a/(double)b);
    return 0;
}*/
#include <stdio.h>
#include <stdlib.h>

int main()
{
    double  r,p=3.14159265358,C,S;
    scanf("%lf",&r);
    C=2*p*r;
    S=p*r*r;
    printf("%lf ",S);
    printf("%lf",C);
    return 0;
}
